import request from '@/utils/request'

// 获取路由
// export const getRouters = () => {
//   return request({
//     url: '/getRouters',
//     method: 'get',
//   })
// }
export function getRouters(deviceType) {
  return request({
    url: '/getRouters?deviceType=' + deviceType,
    method: 'get',
  })
}
